{/* LAYOUT模板 */}
<layout name="login_layout"/>
{/* LAYOUT模板 */}
{/* import Js,Css */}	
<css href="__THEMES__/css/style.css" />
<css href="__CSS__/jquery-ui.css" />
<js href="__JS__/core/jquery-ui.1.10.4.js" />
<js href="__JS__/core/plugins.js" />

<link rel="stylesheet" href="__PUBLIC__/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="__PUBLIC__/bootstrap/css/bootstrap-theme.min.css">
<script src="http://cdn.bootcss.com/bootstrap/js/bootstrap.min.js"></script>
{/* import Js,Css */}




<div id="loading"><!--Loading--></div>
<div style="height:100px;width:100%;"></div>

<style>
.userBox .loginHeader{height:40px;}.userBox .loginHeader h1{line-height:40px; width:850px; border-bottom:1px solid #e7e7e7;font-size: 18px;}.inner{padding: 50px 0 80px 200px;}.inner .iradio_flat-red{background-position: -202px 0;}.inner .checked{background-position: -174px 0;}.inner .tab{padding: 0 0 20px 80px;}.inner .tab li{float: left;padding: 0 30px 0 0;line-height: 28px;}.icheckbox_flat-red, .iradio_flat-red{display: inline-block;padding: 0;width: 28px;height: 28px;background: url('__THEMES__/images/red.png') no-repeat;border: none;cursor: pointer;float: left;margin-right: 10px;}.memberregister .inner dl{padding: 0 0 5px;clear: both;float: none;display: block;zoom: 1;}.mobilecode dt, .memberlogin dt, .findpassword dt, .memberPass dt, .memberinfo dt, .memberregister dt{width: 73px;line-height: 50px;}.mobilecode dd, .memberlogin dd, .findpassword dd, .memberinfo dd, .memberPass dd, .memberregister dd{padding: 0 8px;position: relative;}.mobilecode dt, .mobilecode dd, .memberlogin dt, .memberlogin dd, .memberregister dt, .memberregister dd{float: left;}.mobilecode dd input.text, .memberlogin dd input.text, .memberinfo dd input.text, .memberPass dd input.text, .findpassword dd input.text, .memberregister input.text{margin-bottom: 10px;width: 500px;height: 38px;line-height: 38px\9;overflow: hidden;vertical-align: middle;padding: 6px 8px 3px;border-radius: 3px;border: 1px solid #e0e4e7;background: #fff;}input, button{border: none;outline: none;}.memberregister .regfooterbar{clear: both;margin-top: 10px;}.memberregister .safe{padding: 0 0 0 80px;}#theAgreement{line-height: 2.1;}.icheckbox_flat-red.checked{background-position: -232px 0;}.icheckbox_flat-red{background-position: -262px 0;}.memberlogin .buttons, .memberregister .buttons{padding: 20px 0 0 80px;}.memberlogin .buttons .btn, .memberregister .buttons .btn{width: 96px;height: 30px;border: none;text-align: center;color: #fff;font-size: 14px;float: left;margin-top: 0;cursor: pointer;background: #e8380d;border-radius: 4px;}.mobile-code-btn{vertical-align: middle;position: static;top: 0;margin: 0 0 0 10px;padding: 0;height: 25px;line-height: 20px;height: 45px;width: 115px;background: #CACACA;border: 1px solid #ADADAD;color: #4D4D4D;cursor: pointer;}.memberregister input.captchainput{width: 120px;}
div{margin: 0 auto;padding: 0;display: block;}h1,h2,h3,h4,h5,h6,ul,li,dl,dt,dd,form,img,p{margin: 0;padding: 0;border: none;list-style-type: none;}.block{width: 960px;height: auto;}.f_l{float: left;}.f_r{float: right;}.tl{text-align: left;}.tc{text-align: center;}.tr{text-align: right;}.dis{display: block;}.inline{display: inline;}.none{display: none;}.clearfix{clear: both;}.clearfix: after{content: ".";display: block;height: 0;clear: both;visibility: hidden;}*html .clearfix{height: 1%;}*+html .clearfix{height: 1%;}.register_wrap span{display: block;float: right;height: 45px;width: 45px;text-align: center;line-height: 45px;}.register_wrap span a{color: #000;text-decoration: none;}.register_wrap span a: hover{color: red;text-decoration: underline;}
</style>
<!--注册页面-->
<if condition="$action eq 'register'">
	<form name="login_reg_form" action="__URL__/register_ok" method="post">
	<div class="userBox">
		<div class="w_1200 mp50">
			 <div class="loginHeader">
				<h1 style="text-indent:15px;">
					新用户注册
					<a href="/"  style="display:inline-block;float:right;line-height:50px;height:100%;color:#E8380D;">返回首页>></a>
				</h1>
			</div>
			<div class="memberregister inner">
				<ul class="tab clearfix">
					<li>
						<div class="alert alert-danger" role="alert" style="display:none;height:40px;line-height:40px;padding:0px;margin: 0px;"></div>
					</li>
					<li>
						<label for="r1" class="hide">
							<div class="iradio_flat-red checked" style="position: relative;">
								<input name="myradio" id="em_tab" type="radio" value="email" target="c1" checked="checked" style="position: absolute; opacity: 0;">
								<ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; border: 0px; opacity: 0; background: rgb(255, 255, 255);">
								</ins>
							</div>
							用电子邮箱注册
						</label>
					</li>
					<li>
						<label for="r2" class="hide">
							<div class="iradio_flat-red checked" style="position: relative;">
								<input name="myradio" id="mo_tab" type="radio" value="mobile" target="c2" checked="checked" style="position: absolute; opacity: 0;">
								<ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; border: 0px; opacity: 0; background: rgb(255, 255, 255);">
								</ins>
							</div>
							用手机号码注册
						</label>
					</li>
				</ul>
				<div class="c">
					<!--邮箱注册-->
					<div id="email_id" class="c1 regiterPanel" style="display: none;">
						<div id="clientTips" class="pageTips clear hidden">
						</div>
						<dl class="clearfix">
							<dt>
								邮件地址：
							</dt>
							<dd>
								<input type="text" class="required text validate-email" name="email" id="email" value="" placeholder="请输入常用邮箱地址">
								<span class="check_tips error_tip" id="email_error_tag" style="display: inline-block;">
									请输入邮箱地址
								</span>
								<span class="check_tips succ_tips" id="email_succ_tag" style="display: none;">
									&nbsp;
								</span>
							</dd>
						</dl>
						<dl class="clearfix">
							<dt>
								验证码：
							</dt>
							<dd>
								<input type="text" id="captcha" class="text captchainput required" name="captcha" placeholder="点击获取验证码">
								<label class="overTxtLabel" for="captcha" style="line-height: normal; position: absolute; cursor: text; width: 138px; text-align: left; left: 12px; top: 2px; display: none;">
									点击获取验证码
								</label>
								<div class="verification hidden" id="verification" style="position: absolute; left: 146px; top: -40px; display: none;">
									<span class="left" unselectable="on">
									</span>
									<span class="right" unselectable="on">
									</span>
								</div>
								<span>
									<img src="__URL__/verify" alt="captcha" style="height:35px; vertical-align: middle;cursor: pointer;" onClick="this.src='__URL__/verify?_t='+Math.random()" /> 
								</span>
								<span class="check_tips error_tip" id="captcha_error_tag" style="display: inline-block;">
									校验码不能为空，请输入图片中的蓝色字符
								</span>
								<span class="check_tips succ_tips" id="captcha_succ_tag" style="display: none;">
									&nbsp;
								</span>
							</dd>
						</dl>
					</div>
					<!--邮箱注册-->
					<!--手机注册-->
					<div id="mobile_id" class="c2 regiterPanel" style="display:block;">
						<dl class="clearfix">
							<dt>
								手机号码：
							</dt>
							<dd>
								<input type="text" class="required text validate-mobile msgPos:'mobileValiAdvice'"  name="mobile" value="" id="mobile" placeholder="请输入手机号码">
								<input class="mobile-code-btn" type="button" id="sendMobileCode" value="获取验证码">
								<span class="check_tips error_tip" id="mobile_error_tag" style="display: none;">
									请输入手机号码
								</span>
								<span class="check_tips succ_tips" id="mobile_succ_tag" style="display: none;">
									&nbsp;
								</span>
								<script>
									$('#sendMobileCode').click(function(){
										var mobile_number	=	$('#mobile').val();
										if(mobile_number == ''){ alert('请输入手机号码'); return;}
										$.ajax({
											url:'__URL__/send_mobile_code',
											type:'post',
											dataType:'json',
											data:{mobile:mobile_number},
											beforeSend:function(){
												$('#loading').QLoading({text:'处理中...',status:'open',modal:false});
											},
											success:function(msg){
												if(msg.data == '1'){
													$('#loading').QLoading({img:'happy',text:msg.info,status:'close',time:1});
													//$('#loading').QLoading({text:'',status:'close'});
													$('.alert-danger').css('display','none');
												}
												else{
													//$('#loading').QLoading({img:'sad',text:msg.info,status:'close',time:1});
													$('#loading').QLoading({text:'',status:'close'});
													$('.alert-danger').css('display','block');
													$('.alert-danger').text(msg.info);
												}		
											}
										});
									});
								</script>
							</dd>
						</dl>
						<dl class="clearfix">
							<dt>
								验证码：
							</dt>
							<dd>
								<input type="text" name="mobileValidateCode" id="mobileCode" class="text required validate-mobilecode"
								placeholder="请输入手机收到的验证码">
								<span class="check_tips error_tip" id="mobileCode_error_tag">
								</span>
								<span class="check_tips succ_tips" id="mobileCode_succ_tag">
									&nbsp;
								</span>
							</dd>
						</dl>
					</div>
					<!--手机注册-->
					<!--设置密码-->
					<dl class="clearfix">
						<dt>
							密码：
						</dt>
						<dd>
							<input type="password" class="text req minLength:6 maxLength:20" name="password" id="newPassword" value="" placeholder="请输入密码">
							<span class="check_tips error_tip" id="pwd_error_tag" style="display: inline-block;">
								请输入密码
							</span>
							<span class="check_tips succ_tips" id="pwd_succ_tag" style="display: none;">
								&nbsp;
							</span>
						</dd>
					</dl>
					<dl class="clearfix">
						<dt>
							确认密码：
						</dt>
						<dd>
							<input type="password" class="text req minLength:6 maxLength:20" name="confirm_assword" value="" id="newPassword" placeholder="请输入密码">
							<span class="check_tips error_tip" id="pwd_error_tag" style="display: inline-block;">
								请输入密码
							</span>
							<span class="check_tips succ_tips" id="pwd_succ_tag" style="display: none;">
								&nbsp;
							</span>
						</dd>
					</dl>
					<!--设置密码-->
					<!--注册尾部-->
					<div class="regfooterbar clearfix">
						<div class="safe">
							<div id="theAgreement">
								<div class="icheckbox_flat-red checked hover" style="position: relative;">
									<input type="checkbox" checked="checked" value="1" title="需要同意《用户服务协议》" name="agreement" id="agreement" class="validate-reqchk-bynode nodeId:'theAgreement' msgPos:'theAgreementAdvice'" style="position: absolute; opacity: 0;">
									<ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; border: 0px; opacity: 0; background: rgb(255, 255, 255);"></ins>
								</div>
								我已经认真阅读
								<a href="/res/html/agreement.html" title="用户协议" target="_blank">
									用户协议
								</a>
								和
								<a href="/res/html/privacy.html" title="隐私政策" target="_blank">
									隐私政策
								</a>
								，并完全同意协议中的所有条款
							</div>
							<div id="theAgreementAdvice" class="hint clear">
							</div>
						</div>
						<div class="buttons">
							<input type="hidden" name="back_url" value="https%3A%2F%2Faccount.server.nubia.cn%2Fprofile%2F">
							<input type="submit" class="btn" value="提    交" name="regButton" id="regButton">
						</div>					
					</div>
					<!--注册尾部-->
					<!--忘记密码提示-->
					<dl class="clearfix">
						<dt>
							&nbsp;&nbsp;&nbsp;&nbsp;
						</dt>
						<dd>
							<div class="actionSub mp50">
								<a href="__URL__/login">{$lang.want_login}</a><br />
								<a href="__URL__/get_password">{$lang.forgot_password}</a>
							</div>
						</dd>
					</dl>
					<!--忘记密码提示-->
				</div>
			</div>	
		</div>
	</div>
	<script>
		$(document).ready(function(){		
			$('.iradio_flat-red').click(function(){	
				var name =	$(this).find('input').val();
				$('.iradio_flat-red').each(function(){	
					$(this).attr('checked','').removeClass('checked');
					var _name = $(this).find('input').val();
					if(name == _name){
						$('#' + _name + '_id').css('display','block');					
					}
					else{
						$('#' + _name + '_id').css('display','none');
					}
				});
				$(this).addClass('checked').attr('checked','checked');			
			});
		});
	</script>
	</form>
</if>
<!--注册页面-->

<!--#登录界面 start-->
<if condition="$action eq 'login'">
<form name="login_form" action="__URL__/checklogin" method="post">
<style>
	.login{width: 1170px;margin: 0 auto;padding: 60px 0;overflow: hidden;}.login .login-l{margin-left: 240px;float: left;border-right: 1px solid #e5e5e5;padding-right: 100px;}.login-l .login-h1{font-size: 18px;color: #2f383d;margin-bottom: 20px;}.login-l .login-id, .login-l .login-pwd{overflow: hidden;border: 1px solid #e1e4e6;width: 330px;line-height: 23px;margin-bottom: 10px;position: relative;}.login-l .login-id input, .login-l .login-pwd input{width: 290px;height: 30px;padding-left: 10px;line-height: 30px \9;font-size: 12px;border: none;margin-bottom: 0;}.login-l .login-id .icon-id{background: url(__THEMES__/images/icon_common.png) no-repeat -220px -240px;display: block;width: 20px;height: 20px;position: absolute;top: 9px;right: 5px;}.login-l .login-pwd .icon-pwd{background: url(__THEMES__/images/icon_common.png) no-repeat -240px -240px;display: block;width: 20px;height: 20px;position: absolute;top: 9px;right: 3px;}.third-login{margin-top: 20px;}.login-l .login-rem{margin-bottom: 20px;display: block;}.third-login .qq{background: url(__THEMES__/images/third_login.png) no-repeat 0 0;width: 20px;height: 20px;display: block;float: right;}.third-login 
	.weibo1{ /*ackground: url(__THEMES__/images/third_login.png) no-repeat -22px 0;*/ width: 20px;height: 20px;display: block;float: right;margin-right: 10px;}.login-l .btn-login{background: #e8380d;border: none;width: 330px;height: 40px;border-radius: 20px;color: #fff;cursor: pointer;}.login .login-r{float: right;margin-right: 290px;}.login-step dl{margin-bottom: 30px;}.login-step span{float: left;margin-top: 5px;}.u2019{background-position: -400px -380px;}.u{display: inline-block;background: url(__THEMES__/images/icon_common.png) no-repeat;width: 30px;height: 30px;}.login-step dt, .login-step dd{margin-left: 35px;margin-bottom: 5px;}.login-step dt{color: #363636;font-size: 14px;margin-left: 30px;}.login-step dd{color: #e8380d;}.login-step dt, .login-step dd{margin-left: 35px;margin-bottom: 5px;}.login-step a{color: #e8380d;}.u2019{background-position: -400px -380px;}.u1819{background-position: -360px -380px;}.u1619{background-position: -320px -380px;}
</style>
	<div class="login">
		<div class="login-l">
			<form action="" method="post" id="login_form">
				<input type="hidden" name="form_tag" id="form_tag" value="0e41253a8bccd12c965ca9739e79ef33">
				<div class="login-h1">
					登录到您的帐户
				</div>
				<div class="login-id">
					<input type="text" id="username" name="username" autocomplete="off" id="inputEmail" value="" placeholder="邮箱/手机号码/用户名" class="login-id error-tag-outline">
					<div class="icon-id">
					</div>
				</div>
				<div class="form-id tc mb15 hide" id="user_name_tag" style="color:#EC4430;font-size:12px;margin-bottom: 10px; text-align:left;">
					该项是必填项
				</div>
				<div class="login-pwd">
					<input type="password" id="password" name="password" id="password_id" value="" placeholder="密码" class="login-pwd">
					<div class="icon-pwd">
					</div>
				</div>
				<if condition="$enabled_captcha eq 'enable'">
					<div class="login-pwd">
						<input type="password" name="password" id="password_id" placeholder="密码" class="login-pwd">
						<div class="icon-pwd">
						</div>
					</div>
				</if>
				<div class="form-id tc mb15 error-tag-text" id="password_tag" style="color:#EC4430;font-size:12px;margin-bottom: 10px;">
				</div>
				<div class="third-login">
					<label class="login-rem">
						<input type="checkbox" id="remember" name="remember" id="remember" value="2"/>
						<!--返回登陆操作前的路径-->
						<input type="hidden" name="back_url" value="{$back_url}">
						两周内自动登录
					</label>
				</div>
				<input type="submit" id="login_btn_id" value="立即登录" class="btn-login">				
				<style>
					.login-icons-wrap .login-icons{background:url(__THEMES__/images/login_icon_bg.png) no-repeat 0px 0px;}
					.login-icons-wrap ul{list-style:none;}
					.login-icons-wrap ul li{display:inline-block;width:36px;height:36px;}
					.login-icons-wrap li a{display:block;width:36px;height:36px;}
					.login-icons-wrap a.weibo3{background-position: -50px 2px;}
					.login-icons-wrap a.qqlogin{background-position:2px 2px;}
					.login-icons-wrap .weibo3:hover{background-position:-50px -54px;}
					.login-icons-wrap .qqlogin:hover{background-position:2px -54px;}
				</style>
				<div class="api-login-wrap">
					<h1 style="margin-top:30px;display:block;width:100%;background:url('__THEMES__/images/login_repeat_line.png') repeat-x top;height:8px;"></h1>
					<span style="display:block;font-size:16px;color:#404040;height:40px;line-height:40px;">合作网站账号登录</span>
					<div class="login-icons-wrap">
						<ul>
							<li>
								<a href="{$code_url}" class="login-icons weibo3"></a>
							</li>
							<li>
								<a href="{:U('pass/qq_login')}" class="login-icons qqlogin"></a>
							</li>
						</ul>
					</div>
				</div>
				<!--忘记密码提示-->
				<dl class="clearfix">
					<dt>
						&nbsp;&nbsp;&nbsp;&nbsp;
					</dt>
					<dd>
						<div class="actionSub mp50">
							<a href="__URL__/login">{$lang.want_login}</a><br />
							<a href="__URL__/get_password">{$lang.forgot_password}</a><br />
							<a href="/">返回首页>></a><br />
						</div>
					</dd>
				</dl>
				<!--忘记密码提示-->
			</form>
		</div>
		<div class="login-r">
			<div class="login-step">
				<dl>
					<span class="u u2019">
					</span>
					<dt>
						您没有一个账户
					</dt>
					<dd>
						<a href="{:U('pass/register')}">
							现在注册
						</a>
					</dd>
				</dl>
				<dl>
					<span class="u u1819">
					</span>
					<dt>
						忘记了您的帐户
					</dt>
					<dd>
						<a href="{:U('pass/get_password')}">
							用户名/密码
						</a>
					</dd>
				</dl>
				<dl>
					<span class="u u1619">
					</span>
					<dt>
						您有任何的问题
					</dt>
					<dd>
						<a href="{:U('service/login')}">
							联系我们
						</a>
					</dd>
				</dl>
			</div>
		</div>
	</div>
</form>
</if>
<!--#登录界面 end-->

<!--*找回密码界面 -->
<if condition="$action eq 'get_password'">
<div class="usBox">
	<div class="usBox_2 clearfix">
		<form action="user.php" method="post" name="getPassword" onsubmit="return submitPwdInfo();">
			<br/>
				<table width="70%" border="0" align="center">
					<tr>
						<td colspan="2" align="center"><strong>{$lang.username_and_email}</strong></td>
					</tr>
					<tr>
						<td width="29%" align="right">{$lang.username}</td>
						<td width="61%"><input name="user_name" type="text" size="30" class="inputBg" /></td>
					</tr>
					<tr>
						<td align="right">{$lang.email}</td>
						<td><input name="email" type="text" size="30" class="inputBg" /></td>
					</tr>
					<tr>
						<td></td>
						<td>
							<input type="hidden" name="act" value="send_pwd_email" />
							<input type="submit" name="submit" value="{$lang.submit}" class="bnt_blue" style="border:none;" />
							<input name="button" type="button" onclick="history.back()" value="{$lang.back_page_up}" style="border:none;" class="bnt_blue_1" />
						</td>
					</tr>
				</table>
			<br/>
      </form>
	</div>
</div>
</if>

<!--*通过问题找回密码的确认找回账号界面 -->
<if condition="$action eq 'qpassword_name'">
<div class="usBox">
	<div class="usBox_2 clearfix">
		<form action="user.php" method="post">
			<br />
				<table width="70%" border="0" align="center">
					<tr>
						<td colspan="2" align="center"><strong>{$lang.get_question_username}</strong></td>
					</tr>
					<tr>
						<td width="29%" align="right">{$lang.username}</td>
						<td width="61%">
							<input name="user_name" type="text" size="30" class="inputBg" />
						</td>
					</tr>
					<tr>
						<td></td>
						<td>
							<input type="hidden" name="act" value="get_passwd_question" />
							<input type="submit" name="submit" value="{$lang.submit}" class="bnt_blue" style="border:none;" />
							<input name="button" type="button" onclick="history.back()" value="{$lang.back_page_up}" style="border:none;" class="bnt_blue_1" />
						</td>
					</tr>
				</table>
			<br />
		</form>
	</div>
</div>
</if>

<!--*根据输入账号显示密码问题界面 -->
<if condition="$action eq 'get_passwd_question'">
	<div class="usBox">
		<div class="usBox_2 clearfix">
			<form action="user.php" method="post">
				<br />
					<table width="70%" border="0" align="center">
						<tr>
							<td colspan="2" align="center"><strong>{$lang.input_answer}</strong></td>
						</tr>
						<tr>
							<td width="29%" align="right">{$lang.passwd_question}：</td>
							<td width="61%">{$passwd_question}</td>
						</tr>
						<tr>
							<td align="right">{$lang.passwd_answer}：</td>
							<td><input name="passwd_answer" type="text" size="20" class="inputBg" /></td>
						</tr>
						<!-- 判断是否启用验证码 -->
						<if condition="$enabled_captcha">
						<tr>
							<td align="right">{$lang.comment_captcha}</td>
							<td>
								<input type="text" size="8" name="captcha" class="inputBg" />
								<img src="captcha.php?is_login=1&{$rand}" alt="captcha" style="vertical-align: middle;cursor: pointer;" onClick="this.src='captcha.php?is_login=1&'+Math.random()" />
							</td>
						</tr>
						</if>
						<tr>
							<td></td>
							<td>
								<input type="hidden" name="act" value="check_answer" />
								<input type="submit" name="submit" value="{$lang.submit}" class="bnt_blue" style="border:none;" />
								<input name="button" type="button" onclick="history.back()" value="{$lang.back_page_up}" style="border:none;" class="bnt_blue_1" />
							</td>
						</tr>
					</table>
				<br />
			</form>
		</div>
	</div>
</if>

<if condition="$action eq 'reset_password'">
<div class="usBox">
	<div class="usBox_2 clearfix">
		<form action="user.php" method="post" name="getPassword2" onSubmit="return submitPwd()">
			<br />
			<table width="80%" border="0" align="center">
				<tr>
					<td>{$lang.new_password}</td>
					<td><input name="new_password" type="password" size="25" class="inputBg" /></td>
				</tr>
				<tr>
					<td>{$lang.confirm_password}:</td>
					<td><input name="confirm_password" type="password" size="25"  class="inputBg"/></td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<input type="hidden" name="act" value="act_edit_password" />
						<input type="hidden" name="uid" value="{$uid}" />
						<input type="hidden" name="code" value="{$code}" />
						<input type="submit" name="submit" value="{$lang.confirm_submit}" />
					</td>
				</tr>
			</table>
			<br />
		</form>
	</div>
</div>
</if>
<!--#找回密码界面 end-->


<script type="text/javascript">
	//处理cookie中用户的名字
	$(document).ready(function(){
		if($.cookie('ECS[username]') != null){
			$('#username').attr('value',$.cookie('ECS[username]'));
			$('#remember').attr('checked','checked');
		}
	});
</script>	


